package net.learn.system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import net.learn.framework.common.page.PageResult;
import net.learn.framework.common.service.BaseService;
import net.learn.system.entity.SysRadioEntity;
import net.learn.system.query.SysRadioQuery;
import net.learn.system.vo.SysRadioVO;

import java.util.List;

/**
 * @author 李立志
 * @since 2022-04-01
 */
public interface SysRadioService extends BaseService<SysRadioEntity> {
    String addRadio(SysRadioVO qry);

    Boolean updateRadio(SysRadioVO qry);

    void delete(List<Long> idList);

    List<SysRadioVO> qryRadioList();

    List<SysRadioVO> qryRadioPaper(SysRadioQuery qry);

    List<SysRadioVO> qryRadioPaperList(SysRadioQuery qry);

    List<SysRadioVO> qryRadioRandList(SysRadioQuery qry);

    PageResult<SysRadioVO> qryRadioListPage(SysRadioQuery qry);

    PageResult<SysRadioVO> qryQuestionRadio(SysRadioQuery qry);

    PageResult<SysRadioVO> qryQuestionList(SysRadioQuery qry);
}
